<?php
/**
 * Created by PhpStorm.
 * User: alice
 * Date: 2015/12/28
 * Time: 12:26
 */

/**
 * Class Involved_InviteCodeModel
 */

class Involved_InviteCodeModel extends BaseModel{

    protected $table = 'invite_code';

    public function InviteCode($invite_code){
        return  DB::table($this->table)
            ->where('invite_code',$invite_code)
            ->first();
    }

}